/**
 * Copyright (C), 2019-2023,
 * FileName: FeignConfig
 * Author:   fanxquer
 * Date:     2023/7/6 10:23
 * Description: Feigin配置
 * History:
 * <author>          <time>          <version>          <desc>
 * 邱富康           2023/7/6           1.0
 */
package com.hsteach.framework.feign.client.auth;

import feign.Logger;
import feign.RequestInterceptor;
import feign.RequestTemplate;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 〈Feigin配置〉
 *
 * @author Qiu Fukang
 * @create 2023/7/6
 * @since 1.0.0
 */

@Configuration
public class AuthFeignConfig implements RequestInterceptor {

    @Override
    public void apply(RequestTemplate requestTemplate) {
    }

    @Bean
    public Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;
    }
}